export default defineBackground(() => {
  console.log("Hello background!", { id: browser.runtime.id });

  // 允许用户通过点击扩展图标打开侧边栏
  chrome.sidePanel
    .setPanelBehavior({ openPanelOnActionClick: true })
    .catch((error) => console.error("设置侧边栏行为失败:", error));
});
